package pojo;

public class Student {
	private static final long serialVersionUID = 1L;
	private int ID;//学生学号
	private String name;//学生姓名
	private String grade;//年级
	private String major;//专业
	private String contact;//联系方式
	private int papernum;//论文数量
	private int start;//起始行
	private int rows;//所取行数
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public int getPapernum() {
		return papernum;
	}
	public void setPapernum(int papernum) {
		this.papernum = papernum;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	@Override
	public String toString() {
		return "Student [ID=" + ID + ", name=" + name + ", grade=" + grade + ", major=" + major + ", contact=" + contact
				+ ", papernum=" + papernum +"]";
	}
	


}
